//
//  DetailModel.m
//  Home
//
//  Created by 陶亮 on 16/7/11.
//  Copyright © 2016年 LanJue. All rights reserved.
//

#import "DetailModel.h"

@implementation DetailModel



-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

    if ([key isEqualToString:@"id"]) {
        self.markID = value;
    }

    
}
+ (DetailModel *)setDataToModelWithDic:(NSDictionary *)dic{


    if (dic == nil) {
        return nil;
    }
    DetailModel  * model = [[DetailModel alloc ] init ];
    
    [model setValuesForKeysWithDictionary:dic];
    return model;

}

@end
